Remove Ruff support#46578
Merged
JennyPng merged 5 commits intoAzure:mainfrom Apr 30, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes Ruff linting support from the repo’s Python tooling and documentation, aligning CI and local tooling with the decision to stop running Ruff checks.
Changes:
- Removed Ruff configuration blocks from agentserver package
pyproject.tomlfiles. - Removed Ruff execution paths from tooling/CI (tox env, azpysdk command, weekly analyze pipeline).
- Updated docs to eliminate Ruff references and reproduction steps.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/agentserver/azure-ai-agentserver-responses/pyproject.toml | Removes [tool.ruff] config for this package. |
| sdk/agentserver/azure-ai-agentserver-invocations/pyproject.toml | Removes [tool.ruff] config and isort-related ruff lint settings. |
| sdk/agentserver/azure-ai-agentserver-githubcopilot/pyproject.toml | Removes [tool.ruff] config for this package. |
| sdk/agentserver/azure-ai-agentserver-core/pyproject.toml | Removes [tool.ruff] config for this package. |
| eng/tox/tox.ini | Removes the testenv:ruff tox environment. |
| eng/tox/run_ruff.py | Deletes the tox helper script used to run Ruff. |
| eng/tools/azure-sdk-tools/azpysdk/ruff.py | Deletes the azpysdk ruff check implementation. |
| eng/tools/azure-sdk-tools/azpysdk/main.py | Removes ruff import/registration from the azpysdk CLI. |
| eng/pipelines/templates/stages/python-analyze-weekly.yml | Removes the weekly “Run Ruff” pipeline step. |
| doc/tool_usage_guide.md | Removes azpysdk ruff from the documented tool list. |
| doc/eng_sys_checks.md | Removes the Ruff section and TOC entry under weekly analyze checks. |
| CONTRIBUTING.md | Updates weekly analyze checks description to drop Ruff mention. |
scbedd
reviewed
Apr 28, 2026
l0lawrence
approved these changes
Apr 28, 2026
scbedd
reviewed
Apr 28, 2026
lmazuel
approved these changes
Apr 28, 2026
Member
lmazuel
left a comment
There was a problem hiding this comment.
Approving without reading as "Yes, let's remove ruff". Please reach technical comments from @scbedd and @l0lawrence before merging.
scbedd
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We are deciding not to keep Ruff as a quality check since we're currently not fully investing in it
(eng/tox files aren't used anymore, will fully delete in a separate PR)